					<form id="mainform" action="">
				<table border="0" width="100%" cellpadding="0" cellspacing="0" id="product-table">
				<tr>
					<th class="table-header-check"><a id="toggle-all" ></a> </th>	
					<th class="table-header-repeat line-left"><a href="">Tên khách hàng</a></th>		
					<th class="table-header-repeat line-left"><a href="">Mã số thẻ</a></th>				
					<th class="table-header-repeat line-left"><a href="">Nơi nhận thẻ</a></th>
					<th class="table-header-repeat line-left"><a href="">Ngày đăng ký</a></th>
					<th class="table-header-options line-left"><a href="">Options</a></th>
					
				</tr>
				
				
<?php
	foreach($this->thechinh as $thechinh)
	{
		$id = $thechinh->getId();
		
		$khachhang = $thechinh->getKhachhang();
		$tenkhachhang = $khachhang->getHovaten();
		
		$chinhanh = $thechinh->getChinhanh();
		$tenchinhanh = $chinhanh->getTenchinhanh(); 
		$ngaydangky = $thechinh->getNgaydangky();		
		
		$linkEdit = $this->baseUrl('/admin/thechinh/capnhat/id/'. $id);
		$linkDelete = $this->baseUrl('/admin/thechinh/xoa/id/'. $id);
		
		/* 
		 * <a href="<?php echo $linkEdit?>" title="Edit" class="icon-1 info-tooltip">Edit</a>
		 */
?>
	<tr>
					<td><input  type="checkbox"/></td>
					<td><?php echo $tenkhachhang?></td>
					<td><?php echo $id?></td>
					<td><?php echo $tenchinhanh?></td>
					<td><?php echo $ngaydangky?></td>
					<td class="options-width">
					<a href="<?php echo $linkDelete?>" title="Edit" class="icon-2 info-tooltip">Delete</a>
					<a href="" title="Edit" class="icon-3 info-tooltip"></a>
					<a href="" title="Edit" class="icon-4 info-tooltip"></a>
					<a href="" title="Edit" class="icon-5 info-tooltip"></a>
					</td>
				</tr>
<?php
			
	} 
?>
			</table>
				<!--  end product-table................................... -->
				</form>
